import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import DataVVue3 from "@kjgl77/datav-vue3";

//引入全局封装的图表插件
import myChart from "@/components/chartInstall";

import "@/assets/base.css";
const app = createApp(App);

//挂载插件
app.use(myChart);

app.use(DataVVue3);

app.use(createPinia());
app.use(router);

app.mount("#app");
